/**
 * Copyright (C) 2016 Juno Inc., All Rights Reserved.
 */
package com.jyl.designPattern.structure.flyWeight;

/**
 *
 * @author Long, E-mail:jyl0401@163.com
 * @date 2019年4月20日 下午5:53:04
 */
public class ConcreateFlyWeight implements FlyWeight{
	
	private String intrinsicState;
	
	public ConcreateFlyWeight(String intrinsicState){
		this.intrinsicState = intrinsicState;
	}

	public void doSomething(String extrinsicState) {
		System.out.println(System.identityHashCode(this));
		System.out.println(intrinsicState);
		System.out.println(extrinsicState);
	}

}
